package com.hk.advice;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@EnableAspectJAutoProxy
@ComponentScan
public class AspectConfigure {


    @Bean
    public Audience audience(){
        return new Audience();
    }


    @Bean
    public Performance perform(){
        return new MyPerform();
    }

}
